Snaju Inception Docs

Markers

Table of Contents

Inception/InceptionCore.php 2
Inception/Event/Types/OnExceptionEvent.php 1
Inception/Event/Types/OnNotifyEvent.php 2
Inception/Event/Types/OnRouteEnd.php 1
Inception/Event/Types/OnRouteEvent.php 1
Inception/Event/Types/OnRouteFallback.php 1
Inception/Event/Types/OnRouteProcess.php 1
Inception/Event/Types/OnRouteStart.php 2
Inception/Exception/Handlers/JsonResponseHandler.php 1
Inception/Exception/Handlers/XmlResponseHandler.php 2
Inception/Http/Request/Request.php 30
Inception/Http/Request/Uri.php 10
Inception/Http/Request/Validators/Rules/ObjectRule.php 1
Inception/Http/Request/Validators/Validator.php 3
Inception/Http/Request/WebRequest.php 26
Inception/Http/Response/Pagination/DefaultPaginator.php 1
Inception/Http/Response/Response.php 13
Inception/Http/Response/ResponseHandler.php 7
Inception/Route/Loaders/Func/FuncRouteLoader.php 1
Inception/Route/Loaders/Twig/TemplateManager.php 2
Inception/Route/Loaders/Twig/TwigRouteLoader.php 1
Inception/Util/AnnotationHelper.php 1
Inception/Util/ClassAsyncLoader.php 1
Inception/Util/GlobalHelpers.php 3
Inception/Util/MimeType.php 1
Inception/Util/Util.php 7

InceptionCore.php

Type Line Description
TODO 21 add docs
TODO 128 add plugin loader to load and register routes for plugins @ "/plugins"

OnExceptionEvent.php

Type Line Description
TODO 7 add docs

OnNotifyEvent.php

Type Line Description
TODO 8 add docs
TODO 28 Change the autogenerated stub

OnRouteEnd.php

Type Line Description
TODO 8 add docs

OnRouteEvent.php

Type Line Description
TODO 13 add docs

OnRouteFallback.php

Type Line Description
TODO 7 add docs

OnRouteProcess.php

Type Line Description
TODO 7 add docs

OnRouteStart.php

Type Line Description
TODO 58 extend and throw other exception methods
TODO 62 extend and throw other exception methods

JsonResponseHandler.php

Type Line Description
TODO 21 fix how responses are used to enable sending responses with default response handler for exceptions. Right now, everything is based on middleware and exceptions don't follow the same flow... Responses here are send manually for now.

XmlResponseHandler.php

Type Line Description
TODO 21 fix how responses are used to enable sending responses with default response handler for exceptions. Right now, everything is based on middleware and exceptions don't follow the same flow... Responses here are send manually for now.
TODO 22 fix how responses are used to enable sending responses with default response handler for exceptions. Right now, everything is based on middleware and exceptions don't follow the same flow... Responses here are send manually for now.

Request.php

Type Line Description
TODO 22 Implement getProtocolVersion() method.
TODO 40 Implement withProtocolVersion() method.
TODO 70 Implement getHeaders() method.
TODO 83 Implement hasHeader() method.
TODO 102 Implement getHeader() method.
TODO 126 Implement getHeaderLine() method.
TODO 146 Implement withHeader() method.
TODO 167 Implement withAddedHeader() method.
TODO 184 Implement withoutHeader() method.
TODO 194 Implement getBody() method.
TODO 212 Implement withBody() method.
TODO 233 Implement getRequestTarget() method.
TODO 255 Implement withRequestTarget() method.
TODO 265 Implement getMethod() method.
TODO 285 Implement withMethod() method.
TODO 299 Implement getUri() method.
TODO 334 Implement withUri() method.
TODO 348 Implement getServerParams() method.
TODO 363 Implement getCookieParams() method.
TODO 385 Implement withCookieParams() method.
TODO 402 Implement getQueryParams() method.
TODO 429 Implement withQueryParams() method.
TODO 446 Implement getUploadedFiles() method.
TODO 462 Implement withUploadedFiles() method.
TODO 482 Implement getParsedBody() method.
TODO 515 Implement withParsedBody() method.
TODO 531 Implement getAttributes() method.
TODO 549 Implement getAttribute() method.
TODO 569 Implement withAttribute() method.
TODO 588 Implement withoutAttribute() method.

Uri.php

Type Line Description
TODO 7 finish implement the rest of the methods for UriInterface
TODO 9 //class Uri implements UriInterface
TODO 176 add proper return methods if standard port or not
TODO 270 Implement withScheme() method.
TODO 292 Implement withUserInfo() method.
TODO 309 Implement withHost() method.
TODO 331 Implement withPort() method.
TODO 358 Implement withPath() method.
TODO 378 Implement withQuery() method.
TODO 397 Implement withFragment() method.

ObjectRule.php

Type Line Description
TODO 20 write valid ObjectRule; right now it's empty

Validator.php

Type Line Description
TODO 170 throw an exception as say no validator with that key exists
TODO 266 in the future take into consideration the Accept to check what type of response to send instead of just JSON responses
TODO 278

WebRequest.php

Type Line Description
TODO 12 implement rest of ServerRequestInterface and add implements to class
TODO 65 add attributes to request
TODO 67 create file collection object for storing and manipulating uploaded files
TODO 138 Implement withProtocolVersion() method.
TODO 200 Implement getHeader() method.
TODO 224 Implement getHeaderLine() method.
TODO 245 Implement withHeader() method.
TODO 266 Implement withAddedHeader() method.
TODO 283 Implement withoutHeader() method.
TODO 311 Implement withBody() method.
TODO 332 Implement getRequestTarget() method.
TODO 354 Implement withRequestTarget() method.
TODO 384 properly implement WebRequest->withMethod() so that it returns new instance with all previous data form the first object
TODO 436 Implement withUri() method.
TODO 465 Implement getCookieParams() method.
TODO 488 Implement withCookieParams() method.
TODO 505 Implement getQueryParams() method.
TODO 533 Implement withQueryParams() method.
TODO 550 Implement getUploadedFiles() method.
TODO 567 Implement withUploadedFiles() method.
TODO 587 Implement getParsedBody() method.
TODO 621 Implement withParsedBody() method.
TODO 637 Implement getAttributes() method.
TODO 658 Implement getAttribute() method.
TODO 678 Implement withAttribute() method.
TODO 697 Implement withoutAttribute() method.

DefaultPaginator.php

Type Line Description
TODO 99 add `before` query param to grab records before a certain id

Response.php

Type Line Description
TODO 5 implement Psr ResponseInterface
TODO 210 Implement withProtocolVersion() method.
TODO 277 implement getHeader method
TODO 326 Implement withHeader() method.
TODO 347 Implement withAddedHeader() method.
TODO 364 Implement withoutHeader() method.
TODO 394 Implement getBody() method.
TODO 412 Implement withBody() method.
TODO 516 Implement withStatus() method.
TODO 666 validate the cookie
TODO 671 check if cookie has expired send validate it here
TODO 702 handle sending and streaming files, downloads, etc.
TODO 730 don't forget to clear output buffer after sending resposne

ResponseHandler.php

Type Line Description
TODO 72 reconsider adding headers to the render method
TODO 80 add raw() method to Response.php
TODO 88 add html() method to Response.php
TODO 105 add json() method to Response.php
TODO 139 add jsonp() method to Response.php
TODO 148 add xml() method to Response.php
TODO 156 add text() method to Response.php

FuncRouteLoader.php

Type Line Description
TODO 30 add option to config routes directory...

TemplateManager.php

Type Line Description
BUG 27 template scopes working, but data not loading from different scopes in twig templates
TODO 186 handle exception within an exception

TwigRouteLoader.php

Type Line Description
TODO 54 clean up both loops to make one and determine whether to regsiter as route based on if it has 'views' in the file name

AnnotationHelper.php

Type Line Description
TODO 8 add docs

ClassAsyncLoader.php

Type Line Description
TODO 5 add docs

GlobalHelpers.php

Type Line Description
TODO 8 add checks to make sure function doesn't exists using these reserved keywords. throw exception if they do or remove and override them. Check with Zack
TODO 48 Add secondary argument to set and return the key if it doesn't exist
TODO 62 Add secondary argument to set and return the key if it doesn't exist

MimeType.php

Type Line Description
TODO 5 add docs

Util.php

Type Line Description
TODO 196 Add support for formatting currencies other than USD.
TODO 217
TODO 262
TODO 274
TODO 318 Add this method as a ValidatorRule and deprecate this method.
TODO 331 Add this method as a ValidatorRule and deprecate this method.
TODO 345 Add this method as a ValidatorRule and depcrecate this method.

Search results