^ "site"
^ array:5 [
"initialPlace" => array:7 [
"new" => "new"
"scrape_requested" => "scrape_requested"
"active" => "active"
"inactive" => "inactive"
"maintenance" => "maintenance"
"unauthorized" => "unauthorized"
"probation" => "probation"
]
"workflow" => Symfony\Component\Workflow\StateMachine {#1299
-definition: Symfony\Component\Workflow\Definition {#1300
-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 {#1285
-name: "maintain"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "maintenance"
]
}
1 => Symfony\Component\Workflow\Transition {#1286
-name: "maintain"
-froms: array:1 [
0 => "new"
]
-tos: array:1 [
0 => "maintenance"
]
}
2 => Symfony\Component\Workflow\Transition {#1287
-name: "maintain"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "maintenance"
]
}
3 => Symfony\Component\Workflow\Transition {#1288
-name: "maintain"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "maintenance"
]
}
4 => Symfony\Component\Workflow\Transition {#1289
-name: "maintain"
-froms: array:1 [
0 => "inactive"
]
-tos: array:1 [
0 => "maintenance"
]
}
5 => Symfony\Component\Workflow\Transition {#1290
-name: "deactivate"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "inactive"
]
}
6 => Symfony\Component\Workflow\Transition {#1291
-name: "deactivate"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "inactive"
]
}
7 => Symfony\Component\Workflow\Transition {#1292
-name: "request_scrape"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "scrape_requested"
]
}
8 => Symfony\Component\Workflow\Transition {#1293
-name: "scrape_success"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "active"
]
}
9 => Symfony\Component\Workflow\Transition {#1294
-name: "scrape_fail"
-froms: array:1 [
0 => "scrape_requested"
]
-tos: array:1 [
0 => "probation"
]
}
10 => Symfony\Component\Workflow\Transition {#1301
-name: "activate"
-froms: array:1 [
0 => "maintenance"
]
-tos: array:1 [
0 => "active"
]
}
11 => Symfony\Component\Workflow\Transition {#1295
-name: "bad_login"
-froms: array:1 [
0 => "active"
]
-tos: array:1 [
0 => "unauthorized"
]
}
12 => Symfony\Component\Workflow\Transition {#1296
-name: "fix_credentials"
-froms: array:1 [
0 => "unauthorized"
]
-tos: array:1 [
0 => "active"
]
}
13 => Symfony\Component\Workflow\Transition {#1297
-name: "fetch_okay"
-froms: array:1 [
0 => "probation"
]
-tos: array:1 [
0 => "active"
]
}
14 => Symfony\Component\Workflow\Transition {#1302
-name: "repeated_failure"
-froms: array:1 [
0 => "probation"
]
-tos: array:1 [
0 => "inactive"
]
}
15 => Symfony\Component\Workflow\Transition {#1303
-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 {#1304
-workflowMetadata: []
-placesMetadata: []
-transitionsMetadata: SplObjectStorage {#1298
storage: array:13 [
0 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1285}
"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 {#1286}
"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 {#1287}
"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 {#1288}
"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 {#1289}
"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 {#1290}
"info" => array:2 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
]
]
6 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1291}
"info" => array:2 [
"class" => "bg-warning"
"icon" => "fas fa-gear text-warning"
]
]
7 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1292}
"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 {#1293}
"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 {#1294}
"info" => array:2 [
"class" => "bg-danger"
"icon" => "fas fa-danger"
]
]
10 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1295}
"info" => array:1 [
"description" => "Begin fetching headlines from this site"
]
]
11 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1296}
"info" => array:1 [
"description" => "Fix the login problem"
]
]
12 => array:2 [
"object" => Symfony\Component\Workflow\Transition {#1297}
"info" => array:1 [
"description" => "Starts working again (url fix, site up again, etc.)"
]
]
]
}
}
}
-markingStore: Symfony\Component\Workflow\MarkingStore\SingleStateMarkingStore {#1305
-property: "marking"
-propertyAccessor: Symfony\Component\PropertyAccess\PropertyAccessor {#1307
-magicCall: false
-ignoreInvalidIndices: true
-ignoreInvalidProperty: false
-cacheItemPool: null
-propertyPathCache: []
-readPropertyCache: []
-writePropertyCache: []
}
}
-dispatcher: Symfony\Component\EventDispatcher\EventDispatcher {#53 …3}
-name: "site"
}
"class" => "App\Entity\Site"
"entity" => App\Entity\Site {#4814
+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 {#4817
-elements: []
}
-domSelector: null
-headlineSelector: null
-prefetchHeadlines: false
-excludedLinkRegex: null
-excludedTextRegex: null
-autoCreateMedia: false
-searchTermsString: null
-searchTerms: null
-tags: Doctrine\Common\Collections\ArrayCollection {#4815
-elements: []
}
-nextHeadlinesTime: DateTime @1599447934 {#4816
date: 2020-09-07 03:05:34.602762 UTC (+00:00)
}
-marking_counts: null
-project: null
-autoAccept: false
-parentSite: null
-subSites: Doctrine\Common\Collections\ArrayCollection {#4818
-elements: []
}
-subSiteHeadlineSelector: null
-marking: "maintenance"
-lastTransitionTime: null
}
"definition" => Symfony\Component\Workflow\Definition {#1300}
]
^ Symfony\Component\Workflow\Marking {#4806
-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"}}}}"