This file contains 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 Zendcasts; | |
class Dates { | |
public static function next_week() | |
{ | |
$datetime = new \DateTime(); | |
$datetime->add(new \DateInterval('P7D')); | |
return $datetime->format('Y-m-d'); | |
} | |
} |
This file contains 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 Zendcasts; | |
class Dates { | |
public static function next_week() | |
{ | |
$datetime = new \DateTime(); | |
$datetime->add(new \DateInterval('P7D')); | |
return $datetime->format('Y-m-d'); | |
} | |
} |
This file contains 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
{:input=>"s3://jettytstcontent/files/development/14/39/original.mov", :outputs=>[{:label=>"iphone", :url=>"s3://jettytstcontent/files/development/14/39/iphone.mp4", :width=>480, :height=>320, :public=>1}, {:label=>"ipad", :url=>"s3://jettytstcontent/files/development/14/39/ipad.mp4", :width=>960, :height=>640, :public=>1}, {:label=>"ogv", :url=>"s3://jettytstcontent/files/development/14/39/desktop.ogv", :public=>1}, {:thumbnails=>{:number=>1, :base_url=>"s3://jettytstcontent/files/development/14/39/t", :public=>1}}, {:notifications=>["http://localhost:3000//zencoder?id=39"]}]} |
NewerOlder