^ "site"
^ array:5 [
"initialPlace" => array:1 [
"maintenance" => 1
]
"workflow" => Symfony\Component\Workflow\StateMachine {#1278
-definition: Symfony\Component\Workflow\Definition {#1279
-places: array:7 [
"new" => "new"
"scrape_requested" => "scrape_requested"
"active" => "active"
"inactive" => "inactive"
"maintenance" => "maintenance"
"unauthorized" => "unauthorized"
"probation" => "probation"
]
-transitions: array:16 [
0 => Symfony\Component\Workflow\Transition {#1264
-name: "maintain"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "maintenance"
]
}
1 => Symfony\Component\Workflow\Transition {#1265
-name: "maintain"
-froms: array:1 [
0 => "new"
]
-tos: array:1 [
0 => "maintenance"
]
}
2 => Symfony\Component\Workflow\Transition {#1266
-name: "maintain"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "maintenance"
]
}
3 => Symfony\Component\Workflow\Transition {#1267
-name: "maintain"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "maintenance"
]
}
4 => Symfony\Component\Workflow\Transition {#1268
-name: "maintain"
-froms: array:1 [
0 => "inactive"
]
-tos: array:1 [
0 => "maintenance"
]
}
5 => Symfony\Component\Workflow\Transition {#1269
-name: "deactivate"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "inactive"
]
}
6 => Symfony\Component\Workflow\Transition {#1270
-name: "deactivate"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "inactive"
]
}
7 => Symfony\Component\Workflow\Transition {#1271
-name: "request_scrape"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "scrape_requested"
]
}
8 => Symfony\Component\Workflow\Transition {#1272
-name: "scrape_success"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "active"
]
}
9 => Symfony\Component\Workflow\Transition {#1273
-name: "scrape_fail"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "probation"
]
}
10 => Symfony\Component\Workflow\Transition {#1280
-name: "activate"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "active"
]
}
11 => Symfony\Component\Workflow\Transition {#1274
-name: "bad_login"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "unauthorized"
]
}
12 => Symfony\Component\Workflow\Transition {#1275
-name: "fix_credentials"
-froms: array:1 [
0 => "unauthorized"
]
-tos: array:1 [
0 => "active"
]
}
13 => Symfony\Component\Workflow\Transition {#1276
-name: "fetch_okay"
-froms: array:1 [
0 => "probation"
]
-tos: array:1 [
0 => "active"
]
}
14 => Symfony\Component\Workflow\Transition {#1281
-name: "repeated_failure"
-froms: array:1 [
0 => "probation"
]
-tos: array:1 [
0 => "inactive"
]
}
15 => Symfony\Component\Workflow\Transition {#1282
-name: "report_bad_fetch"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "probation"
]
}
]
-initialPlaces: array:1 [
0 => "maintenance"
]
-metadataStore: Symfony\Component\Workflow\Metadata\InMemoryMetadataStore {#1283
-workflowMetadata: []
-placesMetadata: []
-transitionsMetadata: SplObjectStorage {#1277
storage: array:13 [
0 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1264}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
"description" => "If basic fetch works, then start background fetching"
]
]
1 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1265}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
"description" => "If basic fetch works, then start background fetching"
]
]
2 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1266}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
"description" => "If basic fetch works, then start background fetching"
]
]
3 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1267}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
"description" => "If basic fetch works, then start background fetching"
]
]
4 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1268}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
"description" => "If basic fetch works, then start background fetching"
]
]
5 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1269}
"info" => array:2 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
]
]
6 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1270}
"info" => array:2 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
]
]
7 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1271}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-download"
"metadata" => array:1 [
"description" => "Background process will scrape the headlines"
]
]
]
8 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1272}
"info" => array:3 [
"class" => "bg-warning"
"icon" => "fas fa-download"
"metadata" => array:1 [
"description" => "Background process will scrape the headlines"
]
]
]
9 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1273}
"info" => array:2 [
"class" => "bg-danger"
"icon" => "fas fa-danger"
]
]
10 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1274}
"info" => array:1 [
"description" => "Begin fetching headlines from this site"
]
]
11 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1275}
"info" => array:1 [
"description" => "Fix the login problem"
]
]
12 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1276}
"info" => array:1 [
"description" => "Starts working again (url fix, site up again, etc.)"
]
]
]
}
}
}
-markingStore: Symfony\Component\Workflow\MarkingStore\SingleStateMarkingStore {#1284
-property: "marking"
-propertyAccessor: Symfony\Component\PropertyAccess\PropertyAccessor {#1286
-magicCall: false
-ignoreInvalidIndices: true
-ignoreInvalidProperty: false
-cacheItemPool: null
-propertyPathCache: []
-readPropertyCache: array:1 [
"App.Entity.Site..marking" => array:3 [
0 => true
1 => 0
2 => "getMarking"
]
]
-writePropertyCache: []
}
}
-dispatcher: Symfony\Component\EventDispatcher\EventDispatcher {#51 …3}
-name: "site"
}
"class" => "App\Entity\Site"
"entity" => App\Entity\Site {#4614
+siteCategoryId: null
-id: null
-name: null
-slug: null
-domain: null
-url: null
-username: null
-password: null
-params: null
-method: null
-taggingRules: null
-isActive: true
-lastDiscardTime: null
-isVerified: false
-isMetasite: false
-isSearchpage: false
-isRss: false
-isTagAll: false
-isAutoGrab: false
-containsTobacco: false
-startHeadlinesText: null
-endHeadlinesText: null
-startFullText: null
-endFullText: null
-comments: null
-isFulltextOk: false
-updateInterval: null
-lastHeadlinesTime: null
-newHeadlinesCount: 0
-isHighlight: false
-status: "maintenance"
-assignedTo: ""
-excludedHeadlines: ""
-checkForRepeatedHeadlines: false
-statusCode: null
-cachedPage: null
+cachedPageContentType: null
-cachedTime: null
-media: null
-siteCategory: null
-articles: Doctrine\Common\Collections\ArrayCollection {#4617
-elements: []
}
-domSelector: null
-headlineSelector: null
-prefetchHeadlines: false
-excludedLinkRegex: null
-excludedTextRegex: null
-autoCreateMedia: false
-searchTermsString: null
-searchTerms: null
-tags: Doctrine\Common\Collections\ArrayCollection {#4615
-elements: []
}
-nextHeadlinesTime: DateTime @1576483421 {#4616
date: 2019-12-16 08:03:41.518859 UTC (+00:00)
}
-marking_counts: null
-project: null
-autoAccept: false
-parentSite: null
-subSites: Doctrine\Common\Collections\ArrayCollection {#4618
-elements: []
}
-subSiteHeadlineSelector: null
-marking: "maintenance"
-lastTransitionTime: null
}
"definition" => Symfony\Component\Workflow\Definition {#1279}
]
^ Symfony\Component\Workflow\Marking {#4610
-places: array:1 [
"maintenance" => 1
]
}
^ "new"
^ "scrape_requested"
^ "active"
^ "inactive"
^ "maintenance"
^ "unauthorized"
^ "probation"
^ ""
^ "let workflowData = {"site":{"places":{"new":{"label":"headline.places.new.label","icon":"headline.places.new.icon"},"scrape_requested":{"label":"headline.places.scrape_requested.label","icon":"headline.places.scrape_requested.icon"},"active":{"label":"headline.places.active.label","icon":"headline.places.active.icon"},"inactive":{"label":"headline.places.inactive.label","icon":"headline.places.inactive.icon"},"maintenance":{"label":"headline.places.maintenance.label","icon":"headline.places.maintenance.icon"},"unauthorized":{"label":"headline.places.unauthorized.label","icon":"headline.places.unauthorized.icon"},"probation":{"label":"headline.places.probation.label","icon":"headline.places.probation.icon"}}}}"