This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interface: | |
interface name + 'Interface' as suffix | |
Abstract class: | |
prefix with 'Abstract' + class name | |
Trait: | |
trait name + 'Trait' as suffix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "891dfee63bb6", | |
"name": "Op adem na borstkanker", | |
"type": "package", | |
"links": [ | |
{ | |
"rel": "self", | |
"href": "/api/treatment/891dfee63bb6" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wde |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check_errs() | |
{ | |
# Function. Parameter 1 is the return code | |
# Para. 2 is text to display on failure. | |
if [ "${1}" -ne "0" ]; then | |
echo "ERROR # ${1} : ${2}" | |
# as a bonus, make our script exit with the right error code. | |
exit ${1} | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<services> | |
<service id="my_mailer" class="Acme\HelloBundle\Mailer"> | |
<argument type="expression">service('mailer_configuration').getMailerMethod()</argument> | |
</service> | |
</services> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Gedmo\References; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\Common\EventArgs; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Gedmo\Mapping\MappedEventSubscriber; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Kunstmaan\NodeSearchBundle\Configuration; | |
use Doctrine\ORM\EntityManager; | |
use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\MaskBuilder; | |
use Kunstmaan\NodeBundle\Entity\NodeVersion; | |
use Kunstmaan\NodeSearchBundle\Helper\IndexablePagePartsService; | |
use Kunstmaan\NodeSearchBundle\Helper\SearchBoostInterface; | |
use Kunstmaan\NodeSearchBundle\Helper\SearchViewTemplateInterface; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Kunstmaan\SearchBundle\Configuration; | |
/** | |
* Interface for a SearchConfiguration | |
*/ | |
interface SearchConfigurationInterface | |
{ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param ContainerInterface $container The Container | |
* @param Request $request The Request | |
* @param RenderContext $context The Render context | |
* | |
* @return void|RedirectResponse | |
*/ | |
public function service(ContainerInterface $container, Request $request, RenderContext $context) | |
{ | |
$security = $container->get('security.context'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) po self.saveButton | |
<UIButton: 0x796dd8e0; frame = (962 25; 42 42); hidden = YES; opaque = NO; layer = <CALayer: 0x796dda00>> | |
(lldb) po self.cancelButton | |
<UIButton: 0x796e0490; frame = (13 25; 42 42); hidden = YES; opaque = NO; layer = <CALayer: 0x796e05b0>> | |
(lldb) po self.cameraButton | |
<UIButton: 0x796dabb0; frame = (910 25; 42 42); opaque = NO; layer = <CALayer: 0x796dacd0>> | |
(lldb) po self.planningButton |